package com.zzyl.service.impl;


import cn.hutool.core.collection.CollUtil;
import com.zzyl.entity.NursingProPlan;
import com.zzyl.mapper.NursingPlanProMapper;
import com.zzyl.service.NursingPlanProService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class NursingPlanProServiceImpl implements NursingPlanProService {

    @Autowired
    private NursingPlanProMapper nursingPlanProMapper;

    @Override
    public void insertNursingProPlan(List<NursingProPlan> nppList) {
        nursingPlanProMapper.insertNursingProPlan(nppList);
    }

    @Override
    public List<NursingProPlan> selectList(Long id) {
        return nursingPlanProMapper.selectList(id);
    }

    @Override
    public void deleteNPP(List<Long> planIds) {
        nursingPlanProMapper.deleteNPP(planIds);
    }
}
